package com.money.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 购物车
 *
 * @author 小🌤
 * @email 1578442339@qq.com
 * @date 2022-02-07 14:10:44
 */
@Data
@TableName("cbb_shopping_cart")
public class CbbShoppingCartEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer scId;
    /**
     * 商品，名称
     */
    private String scSpName;
    /**
     * 商品id
     */
    private Long scSpId;
    /**
     * 购买数量
     */
    private Integer scCount;
    /**
     * 商品加购的总价格
     */
    private Double scPriceCount;
    /**
     * 用户id
     */
    private Integer scUrId;
}
